package liuch.lock.stopThrowLock;

public class StopThrowThread extends Thread {
    private SyncObject object;
    private String name;
    private String pwd;

    public StopThrowThread(SyncObject object, String name, String pwd) {
        super();
        this.object = object;
        this.name = name;
        this.pwd = pwd;
    }

    @Override
    public void run() {
        object.printObject(this.name, this.pwd);
    }
}
